package com.cqy.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "auth-res2")
public interface SayHello {

    @GetMapping("r2/hello/{text}")
    String hello(@PathVariable("text") String text);
}
